from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Firefox()
driver.get("https://piaofang.maoyan.com/dashboard?date=2018-08-06")

# 点击日期选择
driver.find_element_by_css_selector('.cal-current').click()
month = driver.find_elements_by_css_selector('.select')[0]
day = driver.find_elements_by_css_selector('.select')[1].find_element_by_class_name('num').text
print(day)
print(month)
driver.close()